package org.shagin.jfin.model.event;

import org.shagin.jfin.data.model.Account;
import org.shagin.jfin.data.model.IBudget;

/**
 * The Class AccountEvent.
 */
public class AccountEvent extends BudgetItemEvent<Account> {
    private static final long serialVersionUID = -2394587168927826712L;

    /**
     * Instantiates a new account event.
     * 
     * @param source the source
     * @param account the account
     */
    public AccountEvent(IBudget source, Account account) {
        super(source, account);
    }

    /**
     * Gets the account.
     * 
     * @return the account
     */
    public Account getAccount() {
        return getBudgetItem();
    }

}
